package r21310.chap04.练习;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        System.out.println("请选择想要制作的披萨（1：培根披萨 2：海鲜披萨）");
        Scanner y=new Scanner(System.in);
        int yonghu=y.nextInt();
        if (yonghu==1){
           peigenpisa pei=new peigenpisa(0,0);
            pei.keshu();
            pei.size();
            pei.pice();
           pei.name();
           pei.pices();
           pei.sizas();
           pei.keshus();
        }else{
            haixianpisa hai=new haixianpisa(0,0);
            hai.peiliao();
            hai.size();
            hai.pice();
            hai.name();
            hai.pices();
            hai.sizas();
            hai.peiliaos();
        }

    }

}
